package 作业1024.作业03;

public class Mouse extends Pet{
    public Mouse() {

    }

    public Mouse(String name, int tili) {
        super(name, tili);
    }
    public void beizhua(){
        super.setTili(0);
        System.out.println("老鼠被咬死，体力为0");
    }
}
